import pytest
import os
from random import randint
if __name__ == '__main__':
    # pytest.main([
    #     "--reruns=3",
    #     "--reruns-delay=2"])
    pytest.main()
    os.system("allure generate ./report/allure-results -o ./report/allure-report --clean")

    # port = randint(1000,9999)
    # print(port)
    # os.system("allure open ./report/allure-report --port {}".format(port))
